﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;

namespace Payroll.Biz.Legacy.Models
{
    public class NoAffiliation : IAffiliation
    {
        public decimal CalculateDeductions(Paycheck paycheck)
        {
            return 0;
        }

        public override bool Equals(object obj)
        {
            return obj is NoAffiliation;
        }

        public override int GetHashCode()
        {
            return RuntimeHelpers.GetHashCode(this);
        }

        public override string ToString()
        {
            return $"{{No Affiliation}}";
        }
    }
}
